package com.yyy.controller;



import com.yyy.entity.TbSpecificationOption;
import com.yyy.sevice.TbSpecificationOptionService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import java.util.List;

@RestController
@RequestMapping("/tbSpecificationOption")
public class TbSpecificationOptionController {
    @Autowired
    private TbSpecificationOptionService tbSpecificationOptionService;
    @GetMapping("/list")
    public List<TbSpecificationOption> list(){
        return tbSpecificationOptionService.findAll();
    }
}
